package com.z.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.z.blog.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户Mapper接口
 *
 * @author z
 * @date 2022-09-02
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询用户列表
     *
     * @param user 用户
     * @return 用户集合
     */
    List<User> selectUserList(User user);

}
